home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / misc / math / MathFX_src.lha / xform.c < prev   
C/C++ Source or Header  |  1995-12-20  |  174b  |  12 lines

  1. #include "mathfx.h"
  2.  
  3. void xform(x,y,tx,ty)
  4. float x, y, *tx, *ty;
  5. {
  6.       extern float tr[];
  7.  
  8.       *tx = tr[0]*x + tr[1]*y + tr[2];
  9.       *ty = tr[3]*x + tr[4]*y + tr[5];
  10. }
  11.  
  12.